From 16cb0cda8aae3ce5ab2b92f9d264eabe465cb11f Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 18 Oct 2006 22:37:51 +0000 Subject: [PATCH] Change icon type for KML position writer when we don't -really- have a fix. --- kml.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kml.c b/kml.c index c68738c42..7bbfcec7e 100644 --- a/kml.c +++ b/kml.c @@ -811,7 +811,12 @@ kml_wr_position(waypoint *wpt) /* We want our waypoint to have a name, but not our trackpoint */ if (!wpt->shortname) { - wpt->shortname = xstrdup("Position"); + if (wpt->fix == fix_none) { + wpt->shortname = xstrdup("ESTIMATED Position"); + wpt->icon_descr = "http://maps.google.com/mapfiles/kml/pal3/icon59.png"; + } else { + wpt->shortname = xstrdup("Position"); + } } if (!trk_head) { -- 2.30.2